package com.huluobo.lib_base.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 *  Created by LC on 2025/8/4.
 */
class VideoEntity : ArrayList<VideoEntityItem>()

@Entity(tableName = "video_info")
data class VideoEntityItem(
    //地址
    var address: String,
    //作者名
    val authname: String,
    //描述
    val caption: String,
    var dianzan: Int,
    val guanzhu: Int,
    //头像
    val headpath: String,
    @PrimaryKey
    val id: Int,
    //点赞数量
    val like_count: Int,
    //发布时间
    val publishtime: String,
    //用于多布局
    val type: Int,
    //视频第一张图片
    val videomainimg: String,
    //视频路径
    val videopath: String,
    //观看次数
    val view_count: Int,
    var isCollect: Boolean
)